package com.hu.zhcc.shiro.service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.Tj_TMentalityResultMapper;
import com.hu.zhcc.shiro.entity.tj.TMentalityResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 心理测评结果 服务实现类
 * </p>
 *
 * @author tj
 * @since 2021-06-30
 */
@Service
public class Tj_TMentalityResultServiceImpl extends ServiceImpl<Tj_TMentalityResultMapper, TMentalityResult> implements Tj_TMentalityResultService {
    @Autowired
    private Tj_TMentalityResultMapper tj_tMentalityResultMapper;

    @Override
    public List<TMentalityResult> queryAllResult() {
        return tj_tMentalityResultMapper.queryAllResult();
    }

    @Override
    public int addXlcp(TMentalityResult tMentalityResult) {
        return tj_tMentalityResultMapper.addXlcp(tMentalityResult);
    }

    @Override
    public int delXlcp(int id, String createtime) {
        return tj_tMentalityResultMapper.delXlcp(id, createtime);
    }
}

